package com.murphy.system.service;

import com.murphy.system.model.Menu;

import java.util.List;
import java.util.Map;

/**
 * Created by 31259 on 2017/12/20.
 */
public interface MenuService {
    int insert(Menu record);

    int insertSelective(Menu record);

    List<Menu> getMenuList(Menu menu,boolean hasMenu);

    List<Menu> getMenuListByType(String type);

    List<Menu> getMenuList(Map<String,Object> map,int startRow,int countPerPage);

    int getMenuCount(Map<String,Object> map);

    String save(Menu menu);
}
